package com.xx.doublex.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xx.doublex.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author IronmanJay
 * @since 2023-12-24
 */
public interface UserMapper extends BaseMapper<User> {

    List<User> selectAll();

    User getByUsername(@Param("username") String username);
}
